#编写不定长参数求平均值的函数avg
def avg(*p):
    return sum(p)/len(p)
print(avg(2,4,6,8,10))